package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 
 * @TableName tb_group_active
 */
@TableName(value ="tb_group_active")
@Data
public class TbGroupActive {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer activeId;

    /**
     * 
     */
    @NotBlank(message = "名称不能为空")
    private String activeName;

    /**
     * 
     */
    @NotNull(message = "数量不能为空")
    private Integer groupNum;

    /**
     * 
     */
    private Date beginTime;

    /**
     * 
     */
    private Date endTime;
}